﻿using rbac.domain.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace rbac.domain.Interface
{
    public interface IPermissionRepository
    {

        List<Permission> GetPermission(string permissionName);

        IQueryable<Permission> Permissions();

        int Add(Permission entity);
        int Update(Permission entity);

        int Delete(int loginUserId, params int[] idlist);


    }
}
